<style lang="scss" scoped>
@import '../../style/mixin-rem.scss';

$bookCaseHeader_paddingTop: 36px;
$bookCaseHeader_paddingBottom: 20px;
$bookCaseHeader_paddingLR: 40px;
$bookCaseHeader_fontSize: 28px;
$bookCaseHeader_fontWeight: 300;
$bookCaseHeader_fontColor: #42464E;

.book-case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:
    rem($bookCaseHeader_paddingTop)
    rem($bookCaseHeader_paddingLR)
    rem($bookCaseHeader_paddingBottom)
    rem($bookCaseHeader_paddingLR);
  .iconfont {
    width: rem($bookCaseHeader_fontSize);
    height: rem($bookCaseHeader_fontSize);
    font-size: rem($bookCaseHeader_fontSize);
    line-height: rem($bookCaseHeader_fontSize);
    color: $bookCaseHeader_fontColor;
  }
  .title {
    font-size: rem($bookCaseHeader_fontSize);
    font-weight: $bookCaseHeader_fontWeight;
    line-height: rem($bookCaseHeader_fontSize);
    color: $bookCaseHeader_fontColor;
  }
}
</style>

<template>
  <div class="book-case-header">
    <router-link class="iconfont icon-sousuo"
      tag="div"
      to="search"
    >
    </router-link>
    <div class="title">我的书架</div>
    <div class="iconfont"></div>
  </div>
</template>

<script>
export default {
  name: 'bookCaseHeader'
}
</script>
